package com.alog.yzd.jdbc.hm;

import com.alog.yzd.jdbc.User;
import com.alog.yzd.utils.Print;

import java.util.Date;

public class UserDaoTest {
    public static void main(String[] args){
        //UserDao userDao = new UserDaoImpl();
        UserDao userDao = DaoFactory.getInstance().getUserDao();
        //Print.print(userDao);
        User user = new User();
        user.setId(9);
        user.setName("Amily");
        user.setPwd("aaaa");
        user.setBirth(new Date());
        //userDao.addUser(user);
    }
}
